package com.briup.ch06.finals;

public final class SingleTon2 {
    private static SingleTon2 obj=new SingleTon2();
    private SingleTon2()
    {

    }
    public static SingleTon2 getInstance()
    {
        if(obj==null)
        {
            obj=new SingleTon2();
        }
        return obj;
    }
}
